package com.zlx.mall.biz.access;

import com.zlx.mall.basic.common.enums.ResponseEnum;
import lombok.Getter;

/**
 * taotao
 *
 * @description
 */
@Getter
public enum AccessErrorEnum implements ResponseEnum {
    ACCESS_USER_LOG_OFF_ERROR(1201, "您当前有正在进行中的订单，无法注销"),

    ;

    private Integer code;
    private String message;

    AccessErrorEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
